// 登录
import request from '@/utils/http'
// 用户登录
export function login (payload) {
  return request({
    url: '/user/login',
    method: 'post',
    data: payload
  })
}

export function findByToken (payload) {
  return request({
    url: '/user/findByT',
    method: 'post'
    // data: payload,
    // headers: {
    //   Authorization: 'Bearer ' + payload
    // }
  })
}
